home *** CD-ROM | disk | FTP | other *** search
/ Go Ronald / Go Ronald Voice Interactive CD.iso / Data1.cab / _A78B221671294700924B8ABD93D36F0B / scripts / frame_7 / DoAction.as
Text File  |  2005-08-05  |  987b  |  44 lines

  1. function returnToRamp()
  2. {
  3.    fail_snd.start();
  4. }
  5. stop();
  6. this.Container1.loadMovie("FailLanding.swf"," ");
  7. goronald_mc._visible = true;
  8. startover_mc._visible = true;
  9. this.createEmptyMovieClip("fx_mc",this.getNextHighestDepth());
  10. var fail_snd = new Sound("fx_mc");
  11. fail_snd.attachSound("tryagain");
  12. fail_snd.onSoundComplete = function()
  13. {
  14.    removeMovieClip("fx_mc");
  15.    gotoAndStop("Ready");
  16.    play();
  17. };
  18. goronald_mc.onRelease = function()
  19. {
  20.    dnaGRG_so.data.fromModule = "true";
  21.    dnaGRG_so.flush();
  22.    _root.loadNextMovie("MainMenuLauncher.swf");
  23. };
  24. goronald_mc.onRollOver = function()
  25. {
  26.    this.gotoAndPlay("rollover");
  27. };
  28. goronald_mc.onRollOut = function()
  29. {
  30.    this.gotoAndPlay("rollout");
  31. };
  32. startover_mc.onRelease = function()
  33. {
  34.    clickSound.start();
  35.    mApplication.trace("startover = " + this);
  36.    gotoAndStop("Ready");
  37.    play();
  38. };
  39. startover_mc.onRollOver = function()
  40. {
  41.    redoSound.start();
  42.    this.gotoAndPlay("rollover");
  43. };
  44.